#ifndef PROJECT4_H
#define PROJECT4_H
#include "project3.h"
using namespace std;

void convertPackages(Package * packages, int * weight, int * values, int size);

void DynamicKnapsack(Package * packages, int size, int maxWeight);

list<int> DynamicKnapsack(int * weight, int * values, int numOfPackages, int maximumWeight);

int total_votes(list<int> data, int * values, int maxNumOfValues);

SET CreateSet(Package * packages, std::list<int> indices);

void MediaTests();

void MediaTest(int w);

void nthousand();

#endif // PROJECT4_H